#import $on from '../lib/on.coffee'
#import { ipcMain } from 'electron'
import {app}  from "electron"
import {ROOT} from './dir.coffee'
export {default as close, x} from './ipc/close.coffee'
export {default as count_down} from './ipc/count_down.coffee'

`export * as confirm from './ipc/confirm.coffee'`
`export * as auto_update from './ipc/auto_update.coffee'`
`export * as recbar from './ipc/recbar.coffee'`
`export * as USER from './ipc/user.coffee'`
`export * as camera from './ipc/camera.coffee'`
`export * as drag from './ipc/drag.coffee'`

export {default as area,wintop} from './ipc/area.coffee'
export {default as main} from './ipc/main.coffee'
export {
  default as mouse,
#  mouseup as mouseup
} from './ipc/mouse.coffee'

export userData = =>
  ROOT
###
export screen_li = =>
  (
    [id,display_id,name] for {
      id, display_id, name
    } from await desktopCapturer.getSources types:[
      'screen'
      'window'
    ]
  )
###

export {default as rec} from './ipc/rec.coffee'

`export {default as open} from './ipc/open.coffee'`
